package edu.uis.project.frankszoo.model.score;

/**
 * PlayerHandScore class represents the score of a player in each hand of the game. Players' hand score details are maintained in Array lists.
 */
public class PlayerHandScore {

	protected int handNo; // Hand number within the game
	protected int individualScore;// Score earned by the player by their ending position

	/**
	 * This is the constructor for the PlayerHandScore
	 * 
	 * @param handNo
	 *            This is the hand number within the game
	 * @param individualScore
	 *            This is score earned by the player by their ending position
	 */
	public PlayerHandScore(int handNo, int individualScore) {
		this.handNo = handNo;
		this.individualScore = individualScore;
	}

	/**
	 * This method returns the hand number within the game
	 * 
	 * @return handNo The hand number within the game
	 */
	public int getHandNo() {
		return this.handNo;
	}

	/**
	 * This method returns the individual score earned by the player for each hand
	 * 
	 * @return individualScore The individual score earned by the player for each hand
	 */
	public int getIndividualScore() {
		return this.individualScore;
	}

}
